//
//  SideslipViewController.h
//  OTOClient
//
//  Created by Suny on 15/3/19.
//  Copyright (c) 2015年 Suny. All rights reserved.
//

#import "BaseViewController.h"
@class SideslipViewController;
@protocol SideslipViewDeleage <NSObject>


@end


@interface SideslipViewController : BaseViewController

@property (nonatomic, copy) NSString *mainVCClassName;

@property(nonatomic,strong)UIViewController *LeftVC;
@property(nonatomic,strong)UIViewController *RightVC;
@property(nonatomic,strong)UIViewController *MainVC;

@property(nonatomic,assign)float LeftSContentOffset;
@property(nonatomic,assign)float RightSContentOffset;

@property(nonatomic,assign)float LeftSContentScale;
@property(nonatomic,assign)float RightSContentScale;

@property(nonatomic,assign)float LeftSJudgeOffset;
@property(nonatomic,assign)float RightSJudgeOffset;

@property(nonatomic,assign)float LeftSOpenDuration;
@property(nonatomic,assign)float RightSOpenDuration;

@property(nonatomic,assign)float LeftSCloseDuration;
@property(nonatomic,assign)float RightSCloseDuration;

@property (nonatomic, assign) BOOL canMoveWithGesture;

@property (nonatomic, assign) float mainBlackCoverMaxAlpha;

+ (SideslipViewController *)sharedSliderController;

- (void)showContentControllerWithModel:(NSString*)className;
- (void)leftItemClick;
- (void)rightItemClick;

- (void)closeSideBar;



- (void)moveViewWithGesture:(UIPanGestureRecognizer *)panGes;

@end



